import cookie from 'js-cookie'
// 设置cookie
export const setCookie = (key, value) => {
  cookie.set(key, value)
}
// 读取cookie
export const getCookie = (key) => {
  return cookie.get(key)
}
// 移除cookie
export const removeCookie = (key) => {
  cookie.remove(key)
}